package cn.stylefeng.guns.modular.demo.excel.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 22)
@HeadFontStyle(fontHeightInPoints = 20)
//@ContentStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 17)
@ContentFontStyle(fontHeightInPoints = 10)
public class YearSaleReportVO {
    @ExcelProperty("入库时间")
    @DateTimeFormat("yyyy")
    private Date saleTime;
    @ExcelProperty("供应商编码")
    private String supplierCode;
    @ExcelProperty("供应商名字")
    private String supplierName;

    @ExcelProperty("总销售金额")
    private BigDecimal totalPrice;
    @ExcelProperty("返现金额(元)")
    private BigDecimal cashPrice;


}
